// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
03A4: name_thread 'FLY'
0AF2: 3@ = get_float_from_ini_file "cleo\V FLY.ini" section "SETTING" key "VOLUME" 

:FLY_1
0001: wait 1000 ms 
00D6: if 
0256:   player $PLAYER_CHAR defined 
004D: jump_if_false @FLY_1 
0002: jump @FLY_2

:FLY_2
0001: wait 0 ms
00D6: if or
04C8: actor $PLAYER_ACTOR driving_flying_vehicle
0A0C: player $PLAYER_CHAR on_jetpack
004D: jump_if_false @FLY_4
0AAC: 1@ = load_audiostream "CLEO\MUSIC\FLY.MP3"
0AAD: set_mp3 1@ perform_action 1
0ABC: set_audiostream 1@ volume 3@ 
0AC0: audiostream 1@ loop 1
0001: wait 500 ms
0002: jump @FLY_3

:FLY_3
0001: wait 0 ms 
00D6: if or
044B: actor $PLAYER_ACTOR on_foot
0117: player $PLAYER_CHAR wasted
0741: actor $PLAYER_ACTOR busted
010F: player $PLAYER_CHAR wanted level > 1
004D: jump_if_false @FLY_3
0002: jump @FLY_4

:FLY_4
0001: wait 0 ms
0AAE: release_mp3 1@
0002: jump @FLY_1   